package com.az.miaoauth.service;

import com.az.miaoauth.domain.dto.EmailCodeDto;
import com.az.miaoauth.domain.dto.MessagePasswordDto;
import com.az.miaoauth.domain.po.TheUser;
import com.az.miaoauth.domain.vo.TokenVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2024-09-17
 */
public interface LoginService extends IService<TheUser> {

    TokenVo loginByPassword(MessagePasswordDto messagePasswordDto);

    TokenVo loginByEmail(EmailCodeDto emailCodeDto);

}
